<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><c:out value="${titulo}" /></title>
    </head>
    <body bgcolor="#FFFF99">
        
        
        <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr align="center" bgcolor="#FF0000">
            <td colspan="2"><h2><font color="white"><c:out value="${titulo}" /></font></h2></td>
        </tr>
        <tr>
            <td width="175"><img src="img/carritorx8[1].jpg" width="149" height="134" /></td>
            <td width="625">
            <form:form method="post" commandName="usuario">
                <table width="50%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                        <td align="right" width="20%">Usuario:</td>
                        <td width="20%"><form:input path="usuarioId" /></td>
                        <td width="60%"><form:errors path="usuarioId" cssClass="error" /></td>
                    </tr>
                    <tr>
                        <td align="right" width="20%">Clave:</td>
                        <td width="20%"><form:password path="password" /></td>
                        <td width="60%"><form:errors path="password" cssClass="error" /></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td><input type="submit" name="btnEntrar" id="btnEntrar" value="Login"/></td>
                    </tr>
                </table>
            </form:form>
    
            </td>
        </tr>
        <tr>
            <td colspan="2" bgcolor="#FF0000"><div align="center"><font color="white"><strong>Programación de Aplicaciones Web - USO ACADEMICO</strong></font></div></td>
        </tr>
        </table>

    </body>
</html>
